package com.yz.jdd.module.cashier.scanpay.exception;


import com.yz.jdd.module.cashier.scanpay.view.IPayBaseView;
import com.yz.jdd.network.ApiCallback;
import com.yz.jdd.network.request.PayParams;
import com.yz.jdd.network.request.Request_Pay;
import com.yz.jdd.network.request.Request_PayStatus;

import rx.Subscription;

/**
 * Created by zr ck on 2017/2/27.
 */

public class ExceptionContract {


    public interface IExceptionModel {


        Subscription getPayStatus(Request_PayStatus request_payStatus, ApiCallback callback);

        PayParams getRequestPayParam(Request_Pay args);
    }

    public interface ExceptionView extends IPayBaseView<Presenter> {
        void showCountDownLoading();

        void dismissCountDownLoading();
    }

    public interface Presenter  {

        void setCanceling(boolean iscanceling);

        void unsubscribeCancel();

    }
}
